package com.learning.mybatis.mapper.insert.entity;

import lombok.Getter;

/**
 * ClassName: Sex
 * Description: 实体类
 * Date: 2020/7/22 9:52 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
@Getter
public enum Sex {
    /**
     * 男
     */
    MALE(1, "男"),
    /**
     * 女
     */
    FEMALE(2, "女");

    private int id;
    private String desc;

    Sex(int id, String desc) {
        this.id = id;
        this.desc = desc;
    }
}
